import { http } from '@idmy/core'

export function listAppsByProjectId(projectId: number) {
  return http.post('/api/sys/App/listByProjectId/' + projectId, null, { appKey: 'sys' })
}

export function deleteApp(id) {
  return http.post('/api/sys/App/delete/' + id, null, { appKey: 'sys' })
}
